package com.wealth.scsj.p_app.base;




import com.wealth.scsj.p_app.bean.BaseBean;

import dkmvp.net.ResponseCallback;
import okhttp3.RequestBody;
import rx.Subscription;

/**
 * 绑定银行卡接口BASE
 * 发送绑定银行卡验证码
 */

public class BindBankCardBase {

    public interface IView {

        void SendSmsSuccessMsg(String s, BaseBean addDABean);

        void BindSuccessMsg(String s, BaseBean deleteDABean);

        void showDAErrorMsg(String s);
    }

    public interface IPresenter {

        /**
         * 发送绑定银行卡验证码
         */
        void deliverSendSmsData(RequestBody requestBody);

        /**
         * 绑定银行卡接口
         */
        void deliverBindData(RequestBody requestBody);
    }

    public interface IModel {

        /**
         * 发送绑定银行卡验证码
         */
        Subscription getSendSmsData(RequestBody requestBody, ResponseCallback<BaseBean> callback);

        /**
         * 绑定银行卡接口
         */
        Subscription getBindData(RequestBody requestBody, ResponseCallback<BaseBean> callback);
    }

}
